<?php
/**
 * 用户认证
 */

Route::group([], function (\Illuminate\Routing\Router $router) {
    //index
    $router->any('index', 'IndexController@index');

    $router->post('sms', 'IndexController@sms');

    //测试接口
    $router->any('test', 'IndexController@test');
    $router->any('printTicket', 'IndexController@printTicket');

    //app基础信息获取
//    $router->any('appBasic', 'IndexController@appBasic');

    //获取轮播图
    $router->get('getBanner', 'IndexController@getBanner');

    $router->any('getShop', 'IndexController@getShop');

    $router->any('getCity', 'IndexController@getCity');

    $router->any('barberDetail', 'IndexController@barberDetail');

    $router->any('barberInfo', 'IndexController@barberInfo');

    //店铺某天排期详情
    $router->any('shopSchedule', 'IndexController@shopSchedule');

    //理发师某天排期详情
    $router->any('barberSchedule', 'IndexController@barberSchedule');

    //微信手机号获取
    $router->any('decode', 'IndexController@decode');
    $router->any('getSessionKey', 'IndexController@getOpenId');
    $router->any('tess', 'IndexController@tess');

    $router->any('shopDetail', 'IndexController@shopDetail');
    //app基础信息获取
    $router->any('appBasic', 'IndexController@appBasic');

    $router->get('getUploadToken', 'IndexController@getUploadToken');
    $router->post('upload', 'IndexController@upload');

});

Route::group([
    'middleware' => 'jwt.auth',
], function (\Illuminate\Routing\Router $router) {


});